CREATE TABLE [dbo].[tr_ProjectUser](
	[ProjectUserId] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
	[ProjectId] [uniqueidentifier] NOT NULL,
	[UserId] [uniqueidentifier] NOT NULL,
 CONSTRAINT [PK_tr_ProjectUser] PRIMARY KEY CLUSTERED 
(
	[ProjectUserId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[tr_ProjectUser] ADD  CONSTRAINT [DF_tr_ProjectUser_ProjectUserId]  DEFAULT (newid()) FOR [ProjectUserId]
GO


